<template>
  <div
    v-if="crud.props.searchToggle"
  >
    <el-input v-model="query.name" clearable size="small" placeholder="输入名称" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />
    <rrOperation
      :crud="crud"
    />
  </div>
</template>

<script>
  import { header } from '@crud/crud'
  import rrOperation from '@crud/RR.operation'
  export default {
    components: { rrOperation },
    mixins: [header()],
    props: {

      permission: {
        type: Object,
        required: true
      }
    }
  }
</script>
